Micron Document
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
| SparkN0de-git | SparkN0de |
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------


Displaying Rendered • View rawDownload


docs/agents/skills/test-loop/SKILL.md 06e2faeae9854d08d5dc0ad0812c550f4e94558e (06e2faea) Text, 1.35 KB

Skill: test-loop

Focused verification with task/uv/pnpm without hanging shells.

MeshChatX Test Loop

Default order

1. Lint/format only the touched surface if needed
2. Focused unit tests for changed files
3. Broader suite only if asked or if cross-cutting

Preferred commands

T282828
T8b949e# Backend focused
uv run pytest tests/backend/test_<name>.py -q --tbTff7b72=short

T8b949e# Frontend focused
pnpm Tffa657exec vitest run tests/frontend/<Name>.test.js

T8b949e# Quick regression
task test:quick

T8b949e# Extended Edge Case Tester / Live Validation
task test:eect
task test:lv:l0
Te6edf3MESHCHAT_LIVE_VALIDATIONTff7b72=T79c0ff1 task test:lv

T8b949e# Broader
task test:backend
task test:frontend


Anti-hang rules

• Do not pipe long pytest runs through T383838| tail in agent shells (blocks until process ends).
• Prefer T383838--tb=short / T383838-q and explicit file lists.
• Skip or isolate T383838long_running / notification soak tests unless explicitly requested.
• Landlock apply tests: always subprocess.

After UI edits

T282828
pnpm Tffa657exec eslint <changed.vue> --fix
pnpm Tffa657exec vitest run tests/frontend/<related>.test.js


After identity / Landlock edits

Run the matching skill's verification section before claiming done.

T282828
uv run pytest tests/backend/test_landlock_sandbox.py tests/backend/test_landlock_integration_surfaces.py tests/backend/test_sqlite_landlock_temp_store.py -q


──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────